﻿using DAL.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BLL.Interface
{
    public interface IMessageImpl:IImpl
    {
        Message? GetMessageInfo(int id);

        IList<Message> GetMessageInfoList(int userID);

        (int, IList<Message>) GetMessageInfoList(int userID, int rows, int page);


        (int, IList<Message>) GetList(int rows, int page);


        bool Delete(int id);

        int Add(Message message);


       
    }
}
